<?php
/**
 * Category table data gateway
 *
 * @uses       Zend_Db_Table_Abstract, Model_ZendDb_DbTable_Base
 * @package    FireFeed
 * @subpackage Model
 */
class Model_ZendDb_DbTable_Category extends Model_ZendDb_DbTable_Base
{
	protected $_name = 'category';
	protected $_dependentTables = array(
	   'Model_ZendDb_DbTable_Feed',
	   'Model_ZendDb_DbTable_CategoriesUsers',
	   'Model_ZendDb_DbTable_CategoryFeeds',
	   'Model_ZendDb_DbTable_CategoriesOfInterest',
	   'Model_ZendDb_DbTable_UserFeeds'
	);
	
	protected $_referenceMap = array(
	   'User' => array(
           'columns'       => 'created_by',
           'refTableClass' => 'Model_ZendDb_DbTable_User',
           'refColumns'    => 'oid'
       )
	);
}